/*
* @Author: jack.lu
* @Date: 2020/5/14
* @Last Modified by: jack.lu
* @Last Modified time: 2020/5/14 9:29 上午
*/

import alilyunOSSUploader from './upload/aliyunoss/AlilyunOSSUploader'

function RestApi() {
    this.fileUploader = alilyunOSSUploader;
}

RestApi.prototype.uploadFile = function (file) {
    return this.fileUploader.upload(file);
};

export default new RestApi();